package day0308;

import java.io.FileInputStream;
import java.io.IOException;
import java.io.InputStreamReader;

public class isrDemo {
    public static void main(String[] args) throws IOException {
        FileInputStream fis =new FileInputStream("note.txt");
        InputStreamReader isr =new InputStreamReader(fis);
        int d;
        while ((d=isr.read())!=-1){
            char c=(char)d;
            System.out.print(c);
        }


    }
}
